
package com.dave.gd.common.util.xml.model;

/**
 * 用于去重的XML对象
 * 
 * 
 */
public abstract class XmlUnionBean extends XmlBean {
	private static final long serialVersionUID = -2816316985818872894L;

	/**
	 * 唯一Key
	 * 
	 * @return key键值
	 */
	public abstract Object toKey();

	/**
	 * 合并
	 * 
	 * @param newOne
	 *            输入的新对象
	 */
	public abstract void merge(XmlUnionBean newOne);
}
